package com.itheima.apidemo;

public class Demo01 {

    public static void main(String[] args) {
       // int max = Math.max(10, 20);
        int max= Math.max(10, 20);
        System.out.println(max);

        int a=20;
        if(a>=0){
            System.out.println(a);
        }else {
            System.out.println(-a);
        }
        System.out.println(Math.abs(a));
    }
}
